@extends('layouts.app')

@section('content')


 <script src="{{ URL::asset('/') }}js/jedate/jedate.js"></script>


    <div class="content">
        <div class="header">
            <ul class="breadcrumb">
                <li>行政案件</li>
                <li><a href="javascript:;">{{$re->case_name}} - 复查合格</a> </li>
            </ul>
        </div>
        <div class="main-content">
            <ul class="nav nav-tabs">
                <li class="active"><a href="#home" data-toggle="tab">复查合格</a></li>
            </ul>

            <div class="row">
                <div class="col-md-6">
                    <br>


                    <div id="myTabContent" class="tab-content">
                        <div class="tab-pane active in" id="home">
                            <form id="tab" class="form-horizontal" method="post">
                                <input type="hidden" name="_token" value="{{ csrf_token() }}">


                              <div class="form-group">
                                    <label for="input1" class="col-sm-2 control-label">复查时间</label>
                                    <div class="col-sm-10">
                                        <input type="text" class="form-control" name="start" id="start" placeholder="复查时间" value="" readonly>
                                    </div>
                                </div>

                                 <script>
                                        /*时间*/
                                        jeDate({
                                            dateCell: "#start",
                                            format: "YYYY年MM月DD日",
                                            isinitVal: true,
                                            isTime: true, //isClear:false,
                                            minDate: "2014-09-19 00:00:00",
                                            okfun: function (val) {
                                            }
                                        })

                                    </script>



                                <div class="form-group">
                                    <label for="input1" class="col-sm-2 control-label">合格理由</label>
                                    <div class="col-sm-10">
                                          <textarea name="un_cont" style="margin: 0px; width: 532px; height: 248px;" ></textarea>
                                    </div>
                                </div>




                                <div class="btn-toolbar list-toolbar btn-toolbar2">
                                    <input type="submit" value="提交生成告知书" class="btn btn-primary">
                                </div>
                            </form>
                        </div>
                    </div>






                </div>
            </div>
        </div>
    </div>



    <script type="text/javascript">
        $(function(){
            $('.valid').on('click',function(){
                if(this.checked){
                    $(this).parents('.panel').children('.panel-body').find('input').prop("checked", true);
                }else{
                    $(this).parents('.panel').children('.panel-body').find('input').prop("checked", false);
                }
            })
        })
    </script>
@stop
